/**
 * @author LKQ
 * @date 2022/1/8 17:18
 * @description 异或
 */
public class Solution2 {
    public static void main(String[] args) {

    }
    public char findTheDifference(String s, String t) {
        String st = s + t;
        char ans = 0;
        for (char c : st.toCharArray()) {
            ans ^= c;
        }
        return ans;
    }
}
